package com.lbl.demo02_consumer_user_81;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

@SpringBootApplication
@EnableEurekaClient
public class Demo02ConsumerUser81Application {

    public static void main(String[] args) {
        SpringApplication.run(Demo02ConsumerUser81Application.class, args);
    }
    @Bean
    public RestTemplate getRt() {
        RestTemplate rt = new RestTemplate();
        return rt;
    }
}
